<template>
  <div>

    <Header ref="header" ></Header>
    <router-view></router-view>
    <Footer></Footer>
  </div>
</template>

<script>
//import { mapGetters } from 'vuex'
import Header from '../components/Header.vue'
import Footer from '../components/Footer.vue'

export default {
  components: {
    Header,
    Footer
  },
  methods:{
    log(){
      this.$refs.header.getUser()
    },
    fresh(){
      this.$refs.header.refresh()
    }
  }
  // computed: {
  //   ...mapGetters('productModules', ['filterProducts'])
  // }
}

</script>
